package com.qing.demo.netty.domain;

import java.util.Date;

/**
 * @author caozhipeng
 * @date 2025/8/7
 * 服务端消息
 */
public class ServerInfo {

//    IP
    private String ip;
//    端口
    private int port;
//    启动时间
    private Date openDete;


    public ServerInfo(String ip, int port, Date openDete) {
        this.ip = ip;
        this.port = port;
        this.openDete = openDete;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public Date getOpenDete() {
        return openDete;
    }

    public void setOpenDete(Date openDete) {
        this.openDete = openDete;
    }
}
